package com.bingxue.edu.management.education.model.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.time.LocalDate;

import static com.bingxue.edu.common.constant.DateConstants.FORMAT_TIME_YMD;

@Data
@Schema(description = "教师课表请求信息")
public class TeacherClassScheduleReq {

    @Schema(description = "开始时间")
    @JsonFormat(pattern = FORMAT_TIME_YMD, timezone = "GMT+8")
    private LocalDate startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = FORMAT_TIME_YMD, timezone = "GMT+8")
    private LocalDate endTime;

    @Schema(description = "时间标志：moth-月 week-周 day-日")
    @NotBlank(message = "时间标志不能为空")
    private String dateFlag;

    @Schema(description = "主教师id")
    private String leadTeacherId;

    @Schema(description = "辅导教师id")
    private String assistTeacherId;
}
